package com.newMedical.medicine.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.newMedical.common.annotation.Excel;
import com.newMedical.common.core.domain.BaseEntity;

/**
 * 药品列表对象 yp_list
 * 
 * @author zhou
 * @date 2021-11-30
 */
public class YpList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药品ID */
    private Long ypId;

    /** 英文名 */
    @Excel(name = "英文名")
    private String ypEngname;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String ypName;

    /** 规格 */
    @Excel(name = "规格")
    private String ypNorm;

    /** 单位 */
    @Excel(name = "单位")
    private String ypUnit;

    /** 价格 */
    @Excel(name = "价格")
    private String ypPrice;

    public void setYpId(Long ypId) 
    {
        this.ypId = ypId;
    }

    public Long getYpId() 
    {
        return ypId;
    }
    public void setYpEngname(String ypEngname) 
    {
        this.ypEngname = ypEngname;
    }

    public String getYpEngname() 
    {
        return ypEngname;
    }
    public void setYpName(String ypName) 
    {
        this.ypName = ypName;
    }

    public String getYpName() 
    {
        return ypName;
    }
    public void setYpNorm(String ypNorm) 
    {
        this.ypNorm = ypNorm;
    }

    public String getYpNorm() 
    {
        return ypNorm;
    }
    public void setYpUnit(String ypUnit) 
    {
        this.ypUnit = ypUnit;
    }

    public String getYpUnit() 
    {
        return ypUnit;
    }
    public void setYpPrice(String ypPrice) 
    {
        this.ypPrice = ypPrice;
    }

    public String getYpPrice() 
    {
        return ypPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ypId", getYpId())
            .append("ypEngname", getYpEngname())
            .append("ypName", getYpName())
            .append("ypNorm", getYpNorm())
            .append("ypUnit", getYpUnit())
            .append("ypPrice", getYpPrice())
            .toString();
    }
}
